<include file="User@Public:header"/>
<div class="am-g">
	<div class="am-u-md-2">
		<include file="User@Public:left_menu"/>
	</div>
	<div class="am-u-md-10 am-cf">
		<div class="am-panel am-panel-default am-cf">
			<div class="am-panel-hd">
				<h3 class="am-panel-title">{$title|htmlspecialchars}</h3>
			</div>
			<div class="am-panel-bd">

				<!-- 按钮 -->
				<div class="am-btn-group">
					<volist name="buttonList" id="button">
					<{$button.tag} {$button.attr}>{$button.title|htmlspecialchars}</{$button.tag}>&nbsp;
					</volist>
				</div>
				<if condition="empty($list)">
				<p>暂无数据！</p>
				<else/>
				<table class="am-table am-table-striped ">
					<!-- 表头 -->
					<thead>
						<tr>
							<th class="row-selected row-selected">
								<input class="check-all" type="checkbox"/>
							</th>
							<volist name="keyList" id="field">
								<th>{$field.title|htmlspecialchars}</th>
							</volist>
						</tr>
					</thead>
					<!-- 列表 -->
					<tbody>
						<volist name="list" id="e">
							<tr>
								<td>
									<input class="ids" type="checkbox" value="{$e['id']}" name="ids[]"></td>
								<volist name="keyList" id="field">
									<td>{$e[$field['name']]}</td>
								</volist>
							</tr>
						</volist>
					</tbody>
				</table>
				</if>
				<div class="am-cf am-u-md-12">{$pagination}</div>
			</div>
		</div>
	</div>
</div>
<include file="User@Public:footer"/>